package com.example.water.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 雨量信息表
 * @TableName st_soil_r
 */
@TableName(value ="st_soil_r")
@Data
public class StSoilR implements Serializable {
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    @Schema(description = "主键ID")
    private Integer id;

    /**
     * 监测站点编码
     */
    @Schema(description = "监测站点编码")
    private String col001;

    /**
     * 时间
     */
    @Schema(description = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date col002;

    /**
     * 雨量
     */
    @Schema(description = "雨量")
    private Double col007;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}